updating oE fileext
fileext
include filesys.e namespace filesys public function fileext(sequence path)
returns the file extension of a fully qualified filename.
Parameters:
- path : the path from which to extract information
Returns:
A sequence, the file extension part of path.
Comments:
The host operating system path separator is used.
Example 1:
fname = fileext("/opt/euphoria/docs/readme.txt") -- fname is "txt"
See Also:
Not Categorized, Please Help
|